<% content_for :title do %>
	Display all users
<% end %>

<% @users.each do |user| %>
	<p>First Name: <%=user.first_name %></p>
	<p>Last Name: <%=user.last_name %></p>
	<p>Email address: <%=user.email_address %></p>
	<%= link_to 'View', user_path(user) %>	
	<%= link_to 'Edit', edit_user_path(user) %>	
	<%= button_to "Delete", user, :method => :delete, :class=>:destroy, :onclick => "return confirm('Are you sure?')" %>
<%	end %>


